﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Han.Util
{
    class MyParaEdit : DevExpress.XtraEditors.TextEdit
    {
        public MyParaEdit()
        {
            this.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.Properties.DisplayFormat.FormatString = "c";
            this.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.Properties.EditFormat.FormatString = "c";

            this.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
        }
    }
}
